package com.example.electronicmall.bean;

/**
 * Created by
 * Time: 13:12
 * Author: Lenovo
 */
public class ProductOne<T> {
    private int code;
    private String message;
    private ProductData data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public ProductData getData() {
        return data;
    }

    public void setData(ProductData data) {
        this.data = data;
    }

    public static class ProductData {
//"total": 11,
//        "productList":
        private int total;
        private ProductBean[] productList;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public ProductBean[] getProductList() {
            return productList;
        }

        public void setProductList(ProductBean[] productList) {
            this.productList = productList;
        }


    public static class ProductBean {

        private int id;
        private int brandId;
        private int productCategoryId;
        private int feightTemplateId;
        private int productAttributeCategoryId;
        private String name;
        private String pic;
        private String productSn;
        private int deleteStatus;
        private int publishStatus;
        private int newStatus;
        private int recommandStatus;
        private int verifyStatus;
        private int sort;
        private int sale;
        private int price;
        private int promotionPrice;
        private int giftGrowth;
        private int giftPoint;
        private int usePointLimit;
        private String subTitle;
        private int originalPrice;
        private int stock;
        private int lowStock;
        private String unit;
        private int weight;
        private int previewStatus;
        private String serviceIds;
        private String keywords;
        private String note;
        private String albumPics;
        private String detailTitle;
        private String promotionStartTime;
        private String promotionEndTime;
        private int promotionPerLimit;
        private int promotionType;
        private String brandName;
        private String productCategoryName;
        private String description;
        private String detailDesc;
        private String detailHtml;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getBrandId() {
            return brandId;
        }

        public void setBrandId(int brandId) {
            this.brandId = brandId;
        }

        public int getProductCategoryId() {
            return productCategoryId;
        }

        public void setProductCategoryId(int productCategoryId) {
            this.productCategoryId = productCategoryId;
        }

        public int getFeightTemplateId() {
            return feightTemplateId;
        }

        public void setFeightTemplateId(int feightTemplateId) {
            this.feightTemplateId = feightTemplateId;
        }

        public int getProductAttributeCategoryId() {
            return productAttributeCategoryId;
        }

        public void setProductAttributeCategoryId(int productAttributeCategoryId) {
            this.productAttributeCategoryId = productAttributeCategoryId;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPic() {
            return pic;
        }

        public void setPic(String pic) {
            this.pic = pic;
        }

        public String getProductSn() {
            return productSn;
        }

        public void setProductSn(String productSn) {
            this.productSn = productSn;
        }

        public int getDeleteStatus() {
            return deleteStatus;
        }

        public void setDeleteStatus(int deleteStatus) {
            this.deleteStatus = deleteStatus;
        }

        public int getPublishStatus() {
            return publishStatus;
        }

        public void setPublishStatus(int publishStatus) {
            this.publishStatus = publishStatus;
        }

        public int getNewStatus() {
            return newStatus;
        }

        public void setNewStatus(int newStatus) {
            this.newStatus = newStatus;
        }

        public int getRecommandStatus() {
            return recommandStatus;
        }

        public void setRecommandStatus(int recommandStatus) {
            this.recommandStatus = recommandStatus;
        }

        public int getVerifyStatus() {
            return verifyStatus;
        }

        public void setVerifyStatus(int verifyStatus) {
            this.verifyStatus = verifyStatus;
        }

        public int getSort() {
            return sort;
        }

        public void setSort(int sort) {
            this.sort = sort;
        }

        public int getSale() {
            return sale;
        }

        public void setSale(int sale) {
            this.sale = sale;
        }

        public int getPrice() {
            return price;
        }

        public void setPrice(int price) {
            this.price = price;
        }

        public int getPromotionPrice() {
            return promotionPrice;
        }

        public void setPromotionPrice(int promotionPrice) {
            this.promotionPrice = promotionPrice;
        }

        public int getGiftGrowth() {
            return giftGrowth;
        }

        public void setGiftGrowth(int giftGrowth) {
            this.giftGrowth = giftGrowth;
        }

        public int getGiftPoint() {
            return giftPoint;
        }

        public void setGiftPoint(int giftPoint) {
            this.giftPoint = giftPoint;
        }

        public int getUsePointLimit() {
            return usePointLimit;
        }

        public void setUsePointLimit(int usePointLimit) {
            this.usePointLimit = usePointLimit;
        }

        public String getSubTitle() {
            return subTitle;
        }

        public void setSubTitle(String subTitle) {
            this.subTitle = subTitle;
        }

        public int getOriginalPrice() {
            return originalPrice;
        }

        public void setOriginalPrice(int originalPrice) {
            this.originalPrice = originalPrice;
        }

        public int getStock() {
            return stock;
        }

        public void setStock(int stock) {
            this.stock = stock;
        }

        public int getLowStock() {
            return lowStock;
        }

        public void setLowStock(int lowStock) {
            this.lowStock = lowStock;
        }

        public String getUnit() {
            return unit;
        }

        public void setUnit(String unit) {
            this.unit = unit;
        }

        public int getWeight() {
            return weight;
        }

        public void setWeight(int weight) {
            this.weight = weight;
        }

        public int getPreviewStatus() {
            return previewStatus;
        }

        public void setPreviewStatus(int previewStatus) {
            this.previewStatus = previewStatus;
        }

        public String getServiceIds() {
            return serviceIds;
        }

        public void setServiceIds(String serviceIds) {
            this.serviceIds = serviceIds;
        }

        public String getKeywords() {
            return keywords;
        }

        public void setKeywords(String keywords) {
            this.keywords = keywords;
        }

        public String getNote() {
            return note;
        }

        public void setNote(String note) {
            this.note = note;
        }

        public String getAlbumPics() {
            return albumPics;
        }

        public void setAlbumPics(String albumPics) {
            this.albumPics = albumPics;
        }

        public String getDetailTitle() {
            return detailTitle;
        }

        public void setDetailTitle(String detailTitle) {
            this.detailTitle = detailTitle;
        }

        public String getPromotionStartTime() {
            return promotionStartTime;
        }

        public void setPromotionStartTime(String promotionStartTime) {
            this.promotionStartTime = promotionStartTime;
        }

        public String getPromotionEndTime() {
            return promotionEndTime;
        }

        public void setPromotionEndTime(String promotionEndTime) {
            this.promotionEndTime = promotionEndTime;
        }

        public int getPromotionPerLimit() {
            return promotionPerLimit;
        }

        public void setPromotionPerLimit(int promotionPerLimit) {
            this.promotionPerLimit = promotionPerLimit;
        }

        public int getPromotionType() {
            return promotionType;
        }

        public void setPromotionType(int promotionType) {
            this.promotionType = promotionType;
        }

        public String getBrandName() {
            return brandName;
        }

        public void setBrandName(String brandName) {
            this.brandName = brandName;
        }

        public String getProductCategoryName() {
            return productCategoryName;
        }

        public void setProductCategoryName(String productCategoryName) {
            this.productCategoryName = productCategoryName;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public String getDetailDesc() {
            return detailDesc;
        }

        public void setDetailDesc(String detailDesc) {
            this.detailDesc = detailDesc;
        }

        public String getDetailHtml() {
            return detailHtml;
        }

        public void setDetailHtml(String detailHtml) {
            this.detailHtml = detailHtml;
        }
    }
    }
}
